package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 u_user_account
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class UUserAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private String userPhone;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 可用 */
    @Excel(name = "可用")
    private BigDecimal amount;

    /** 冻结金额 */
    @Excel(name = "冻结金额")
    private BigDecimal frozenAmount;

    /** 币种名称 */
    @Excel(name = "币种名称")
    private String coinName;

    /** 主链币地址 */
    @Excel(name = "主链币地址")
    private String address;

    /** trc20充币地址 */
    @Excel(name = "trc20充币地址")
    private String trcAddress;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String bscAddress;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ethAddress;

    /** 是否显示 0不显示 1显示   */
    @Excel(name = "是否显示 0不显示 1显示  ")
    private Integer isShow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setFrozenAmount(BigDecimal frozenAmount) 
    {
        this.frozenAmount = frozenAmount;
    }

    public BigDecimal getFrozenAmount() 
    {
        return frozenAmount;
    }
    public void setCoinName(String coinName) 
    {
        this.coinName = coinName;
    }

    public String getCoinName() 
    {
        return coinName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTrcAddress(String trcAddress) 
    {
        this.trcAddress = trcAddress;
    }

    public String getTrcAddress() 
    {
        return trcAddress;
    }
    public void setBscAddress(String bscAddress) 
    {
        this.bscAddress = bscAddress;
    }

    public String getBscAddress() 
    {
        return bscAddress;
    }
    public void setEthAddress(String ethAddress) 
    {
        this.ethAddress = ethAddress;
    }

    public String getEthAddress() 
    {
        return ethAddress;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("amount", getAmount())
            .append("frozenAmount", getFrozenAmount())
            .append("coinName", getCoinName())
            .append("address", getAddress())
            .append("trcAddress", getTrcAddress())
            .append("bscAddress", getBscAddress())
            .append("ethAddress", getEthAddress())
            .append("isShow", getIsShow())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
}
